package edu.sctu.xialei.june.day20150618one.inheritance;

/**
 * Created by Administrator on 2015/6/18.
 */
public class Father {
    String color;
    String language;
    String name;
    short age;

int nm = 100;

    public Father(String color, String language, String name, short age) {
        this.age = age;
        this.color = color;
        this.language = language;
        this.name = name;
    }

    public void printName() {
        System.out.println(this.name);
    }

    public void printAge() {
        System.out.println(this.age);
    }

    public void print(){

    }
}
